import os

basedir = os.path.abspath(os.path.dirname(__file__))

class Config:
    SECRET_KEY = os.environ.get('SECRET_KEY') or 'hard to guess string'
    
    @staticmethod
    def init_app(app):
        pass


class DevelopmentConfig(Config):
    DEBUG = True
    ISTRANSMISSIONENCRYPT = False

class TestingConfig(Config):
    ISTRANSMISSIONENCRYPT = False
    TESTING = False

class ProductionConfig(Config):
    ISTRANSMISSIONENCRYPT = True
    DEBUG = False
    SECRET_KEY = '5YyX5p6X6Z+z5bqm'

config = {
    'development': DevelopmentConfig,
    'testing': TestingConfig,
    'production': ProductionConfig,
    # 'default': DevelopmentConfig
    'default': ProductionConfig
}